﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Noris.Tools.FrxEditor.ComponentsLayer
{
    /// <summary>
    /// Panel podporující vrstvovou grafiku (LayeredPanel) s podporou ViewPortu
    /// </summary>
    public class LayeredPanelViewPort : LayeredPanel
    {
        /// <summary>
        /// Konstruktor
        /// </summary>
        public LayeredPanelViewPort()
        {
            this.ViewPort = new ViewPort(0);
        }
        /// <summary>
        /// ViewPort typovaný na IViewPortConvertor, jsou na něm dostupné konverzní metody LogicalFromVisual a reverzní.
        /// </summary>
        public IViewPortConvertor ViewPortConvertor { get { return this.ViewPort as IViewPortConvertor; } }
        /// <summary>
        /// ViewPort
        /// </summary>
        public ViewPort ViewPort { get; private set; }
    }
}
